﻿//====================================================================
// Create by Daniel
// Copyright: YunStudio Inc.
// file： YCModuleFeedback.cs
// project ：YunCMS
// Build time：2012-09-09
// modify:
// description:
// ===================================================================
using System;
namespace YunCMS.Model
{
	/// <summary>
	///YCModuleFeedback Model
	/// </summary>
	[Serializable]
	public class YCModuleFeedback
	{
		#region 
		private int _id;
		private string _ipaddress = String.Empty;
		private string _title = String.Empty;
		private string _content = String.Empty;
		private DateTime? _addtime;
		private bool _isread;
		private string _username = String.Empty;
		private string _useremail = String.Empty;
		private string _note = String.Empty;
		private string _lang = String.Empty;
		#endregion
		
		#region 
		///<summary>
		///Constructor
		///</summary>
		public YCModuleFeedback()
		{
		}		
		#endregion
		
		#region 
		
		///<summary>
		///ID
		///</summary>
		public int ID
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///IPAddress
		///</summary>
		public string IPAddress
		{
			get {return _ipaddress;}
			set {_ipaddress = value;}
		}

		///<summary>
		///Title
		///</summary>
		public string Title
		{
			get {return _title;}
			set {_title = value;}
		}

		///<summary>
		///Content of the artical 
		///</summary>
		public string Content
		{
			get {return _content;}
			set {_content = value;}
		}

		///<summary>
		///Add time
		///</summary>
		public DateTime? AddTime
		{
			get {return _addtime;}
			set {_addtime = value;}
		}

		///<summary>
		///Is read
		///</summary>
		public bool IsRead
		{
			get {return _isread;}
			set {_isread = value;}
		}

		///<summary>
		///User name
		///</summary>
		public string UserName
		{
			get {return _username;}
			set {_username = value;}
		}

		///<summary>
		///User email
		///</summary>
		public string UserEmail
		{
			get {return _useremail;}
			set {_useremail = value;}
		}

		///<summary>
		///Note
		///</summary>
		public string Note
		{
			get {return _note;}
			set {_note = value;}
		}

		///<summary>
		///Lang
		///</summary>
		public string Lang
		{
			get {return _lang;}
			set {_lang = value;}
		}
	
		#endregion	
	}
}



